<php>
        $niuname['0']='无牛';
        $niuname['1']='牛一';
        $niuname['2']='牛二';
        $niuname['3']='牛三';
        $niuname['4']='牛四';
        $niuname['5']='牛五';
        $niuname['6']='牛六';
        $niuname['7']='牛七';
        $niuname['8']='牛八';
        $niuname['9']='牛九';
        $niuname['10']='牛牛';
        $niuname['11']='五花牛';
        $niuname['12']='炸弹牛';
        $niuname['13']='五小牛';
</php>
<html>
 <head> 
  <meta charset="utf-8" /> 
  <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" /> 
  <meta name="format-detection" content="telephone=no" /> 
  <meta name="msapplication-tap-highlight" content="no" /> 
  <title>{$titlexx}主页</title> 
  <link rel="stylesheet" href="__TMPL__Public/css/public.css" /> 
  <link rel="stylesheet" href="__TMPL__Public/css/alert.css" /> 
  <link rel="stylesheet" href="__TMPL__Public/css/swiper-3.4.2.min.css" /> 
  <link rel="stylesheet" type="text/css" href="__TMPL__Public/css/bull_vue-1.0.0.css" /> 
  <link rel="stylesheet" type="text/css" href="__TMPL__Public/css/bullalert.css" /> 
  <link rel="stylesheet" type="text/css" href="__TMPL__Public/css/bullshop.css" /> 
  <link rel="stylesheet" type="text/css" href="__TMPL__Public/css/common/alert.css" /> 
  <link rel="stylesheet" type="text/css" href="__TMPL__Public/css/activity.css">
  <link rel="stylesheet" type="text/css" href="__TMPL__Public/css/{$user.password}.css">
  <style>
    .jiuren-zhangchangxq{
      height: auto;
    }


  </style>
  <script src="__TMPL__Public/js/homepage/jq.js" type="text/javascript"></script>  
  <script src="__TMPL__Public/js/homepage/home.js" type="text/javascript"></script>  
  <script src="__TMPL__Public/js/swiper-3.4.2.min.js" type="text/javascript"></script> 
 </head> 
 <body style="background-color: #0e0226"> 
  <img class='' src="__TMPL__Public/img/activity/{$user.password}.jpg"  style="position: fixed;left: 0;right: 0;top: 0;bottom: 0;margin:auto;" /> 
  <div class="main jiuren-jifenxq" style="    background: none !important;">

   <div class="gameMenu jiuren-jifenxq-top">
     {$room.time|date='m-d H:i',###}&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;{$room.endtime|date='m-d H:i',###}
   </div> 
   <div class="gameScoreTitle jiuren-jifenxq-title">
    <div class='jiuren-jifenxq-title-content'>
      {$room['zjs']}局X{$room['fk']}房卡,{$room['wfname']}<if condition="$room['df']">,底分{$room['df']}</if><if condition="$room['gz']">,规则:{$room['gz']}</if>
     <if condition="$room['px']">,牌型:
        <php>
          echo implode('-',$room['px']);
      </php>
    </if>
      <if condition="$room['sz']">,上庄：{$room['sz']}</if>
    </div>
   </div> 
   <div id="memberDiv" class='jiuren-jifenxq-content'>
    <div class='jiuren-jifenxq-ztcontent'>

      <foreach name="room['over']" item="one">
     <div class='jiuren-jifenxq-yh'>
      <img class='jiuren-jifenxq-yh-img' src="{$one.img}"  /> 
      <div class='jiuren-jifenxq-yh-name'>{$one.id|usernickname=###}</div> 
      <div class='jiuren-jifenxq-yh-id' >
        ID:&nbsp;{$one.id} 
      </div> 
      <div class='jiuren-jifenxq-yh-jf'>
        <if condition="$one['dqjf'] gt 0">
        +{$one.dqjf}
        <else/>
          {$one.dqjf}
        </if>
      </div>
     </div>
    </foreach>
    
    <foreach name="dj" item="one">
     <div class='jiuren-zhangchangxq'>
      <div class='jiuren-zhangchangxq-js'>
       <div class='jiuren-zhangchangxq-jsxq'>
         {$one.js}/{$room['zjs']}局 
       </div>
      </div> 
      <php>
        $djxx=json_decode($one['djxx'],true);
        //print_r($djxx);
      </php>
      <div class='jiuren-zhangchangxq-yhmz'>
       <div class='jiuren-zhangchangxq-yhmzxq'>
         用户名字 
       </div> 
       <div  class='jiuren-zhangchangxq-yhpx'>
         牌型 
       </div> 
       <div class='jiuren-zhangchangxq-bs'>
         倍数 
       </div> 
       <div class='jiuren-zhangchangxq-df'>
         得分 
       </div>
      </div> 
      <foreach name="djxx" item="two">
      <div  class='jiuren-zhangchangxq-yipai'>

       <div  class='jiuren-zhangchangxq-yipai-img'>
        <div  class='jiuren-zhangchangxq-yipai-imgxq'>{$two.user.id|usernickname=###}</div> 
        <img  src="__TMPL__Public/img/banker_icon.png" class='jiuren-zhangchangxq-yipai-imgxq-1' <if condition="$two['sfbank'] eq 0">style="position: absolute; top: 5vw; height: 5vw; width: 5vw; display: none;"</if>/>
       </div> 
       <div  class="cardOver jiuren-cardOverzt" >
        <div  class="jiuren-cardOver-over">
          {$niuname[$two['user']['niu']]} 
        </div>
        <php>foreach($two['user']['card'] as $keyxx=>$three){</php>
        <div class="back card{$three.card} pai<php>echo $keyxx+1</php>" ></div> 
        <php>}</php>
       </div> 
       <div class='jiuren-beishu'>
         {$two.beishu}倍 
       </div> 
       <div class='jiuren-jifenboss'>
         {$two.jf} 
       </div> 
       <div  class='jiuren-weicanyu'>
         该局未参与游戏 
       </div>
      </div>
      </foreach>
     </div>


     </foreach>


 






   
    </div> 
   </div>
  </div> 
  









 </body>
 <script> 
var mySwiper = new Swiper('.swiper-container', {
  slidesPerView : 5,
  freeMode : true,
})
</script>
</html>